package com.vastcom.sigma.admin.dao;

import com.vastcom.sigma.admin.model.Rawbeaninventory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface RawBeanInventoryDao extends JpaRepository<Rawbeaninventory,String> {

        @Query("select r from Rawbeaninventory r where r.pm=:pm")
        List<Rawbeaninventory> getRawbeaninventoriesByPm(@Param("pm") String pm);

}
